package com.cxmx.escort.aspect.api;

import com.cxmx.escort.aspect.baseApi.ApiGrpc;
import com.cxmx.escort.aspect.baseApi.Request;
import io.grpc.ManagedChannel;

public interface AbstractApiGrpcFactory {
    ApiGrpc.ApiBlockingStub createApiBlockingStub(ManagedChannel channel);

    ApiGrpc.ApiStub createApiStub(ManagedChannel channel);
    
    ManagedChannel createManagedChannel(String host, int port);

    Request.Builder createRequestBuilder();
}
